package cn.echisan.homework.service;

import cn.echisan.homework.model.User;

import java.util.List;

public interface UserService {

    User getUserById(Integer id);

    User getUserByIdentifyNum(String identifyNum);

    List<User> listStudents();

    Integer insertUser(User user);

    List<User> listTeachers();

    Integer updateUser(User user);

    Integer deleteUserById(Integer id);
}
